import request from '@/utils/request'

// 查询小区房屋列表
export function houseList(data) {
  return request({
    url: '/management/sqHouse/getSqHouseList',
    method: 'post',
    data: data
  })
}


// 根据单元id查询小区房屋列表
export function houseListByElement(data) {
  return request({
    url: `/management/sqHouse/houseListByElement?cpl=${data}`,
    method: 'get',
  })
}
